Optimal. Leaf size=31 \[ \frac{a^6 \cos ^3(c+d x)}{3 d (a-a \sin (c+d x))^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0847633, antiderivative size = 31, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {2670, 2671} \[ \frac{a^6 \cos ^3(c+d x)}{3 d (a-a \sin (c+d x))^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2670
Rule 2671
Rubi steps
\begin{align*} \int \sec ^4(c+d x) (a+a \sin (c+d x))^3 \, dx &=a^6 \int \frac{\cos ^2(c+d x)}{(a-a \sin (c+d x))^3} \, dx\\ &=\frac{a^6 \cos ^3(c+d x)}{3 d (a-a \sin (c+d x))^3}\\ \end{align*}
Mathematica [A] time = 0.0248598, size = 28, normalized size = 0.9 \[ \frac{a^3 (\sin (c+d x)+1)^3 \sec ^3(c+d x)}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.07, size = 120, normalized size = 3.9 \begin{align*}{\frac{1}{d} \left ({a}^{3} \left ({\frac{ \left ( \sin \left ( dx+c \right ) \right ) ^{4}}{3\, \left ( \cos \left ( dx+c \right ) \right ) ^{3}}}-{\frac{ \left ( \sin \left ( dx+c \right ) \right ) ^{4}}{3\,\cos \left ( dx+c \right ) }}-{\frac{ \left ( 2+ \left ( \sin \left ( dx+c \right ) \right ) ^{2} \right ) \cos \left ( dx+c \right ) }{3}} \right ) +{\frac{{a}^{3} \left ( \sin \left ( dx+c \right ) \right ) ^{3}}{ \left ( \cos \left ( dx+c \right ) \right ) ^{3}}}+{\frac{{a}^{3}}{ \left ( \cos \left ( dx+c \right ) \right ) ^{3}}}-{a}^{3} \left ( -{\frac{2}{3}}-{\frac{ \left ( \sec \left ( dx+c \right ) \right ) ^{2}}{3}} \right ) \tan \left ( dx+c \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 0.967453, size = 105, normalized size = 3.39 \begin{align*} \frac{3 \, a^{3} \tan \left (d x + c\right )^{3} +{\left (\tan \left (d x + c\right )^{3} + 3 \, \tan \left (d x + c\right )\right )} a^{3} - \frac{{\left (3 \, \cos \left (d x + c\right )^{2} - 1\right )} a^{3}}{\cos \left (d x + c\right )^{3}} + \frac{3 \, a^{3}}{\cos \left (d x + c\right )^{3}}}{3 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.60187, size = 236, normalized size = 7.61 \begin{align*} \frac{a^{3} \cos \left (d x + c\right )^{2} - a^{3} \cos \left (d x + c\right ) - 2 \, a^{3} -{\left (a^{3} \cos \left (d x + c\right ) + 2 \, a^{3}\right )} \sin \left (d x + c\right )}{3 \,{\left (d \cos \left (d x + c\right )^{2} - d \cos \left (d x + c\right ) +{\left (d \cos \left (d x + c\right ) + 2 \, d\right )} \sin \left (d x + c\right ) - 2 \, d\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16137, size = 51, normalized size = 1.65 \begin{align*} -\frac{2 \,{\left (3 \, a^{3} \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{2} + a^{3}\right )}}{3 \, d{\left (\tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) - 1\right )}^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]